import Vue from 'vue'
import Router from 'vue-router'
import Bootstrap from './views/Bootstrap.vue'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'bootstrap',
      component: Bootstrap
    },
    {
      path: '/main',
      name: 'main',
      component:  () => import(/* webpackChunkName: "main" */ './views/Main.vue')
    },
    {
      path: '*',
      redirect: '/'
    }
  ]
})
